import * as path from 'path';

export default async function invoke_atom(atom: string, ...args: Array<unknown>) {
	return await require(path.join(__dirname, 'atom', atom)).default(...args);
}
